//
//  KuKu_Web.h
//  kuku
//
//  Created by 清风徐来 on 2024/1/23.
//

#import <UIKit/UIKit.h>
#import <WebKit/WebKit.h>
#import <Foundation/Foundation.h>

NS_ASSUME_NONNULL_BEGIN

@interface KuKu_Web : NSObject

+ (KuKu_Web *)shared;

/// 获取应该设置的JS交互名数组
- (NSArray <NSString *>*)getJsWithMotheds;

/// 设置JS交互
/// - Parameters:
///   - jsNames: 交互名数组
///   - webView: webview
///   - controller: 需要跳转的Web Controller
- (void)registerJsWithMotheds:(NSArray <NSString *>*)jsNames;

@end

NS_ASSUME_NONNULL_END
